package org.example.servlet;

import org.example.server.MyRequest;
import org.example.server.MyResponse;

import java.io.IOException;

public class FindGirlServlet extends MyServlet {

    @Override
    public void doGet(MyRequest myRequest, MyResponse myResponse) {
        try {
            myResponse.write("get girl......");
        } catch (IOException e) {
            throw new RuntimeException(e);
        }
    }

    @Override
    public void doPost(MyRequest myRequest, MyResponse myResponse) {
        try {
            myResponse.write("post girl......");
        } catch (IOException e) {
            throw new RuntimeException(e);
        }
    }

}
